package o;

import java.util.concurrent.Executor;

public final class fkb<TResult> implements fjs<TResult> {
    private final Object ˊ = new Object();
    private Executor ˏ;
    private fjr ॱ;

    fkb(Executor executor, fjr o_fjr) {
        this.ॱ = o_fjr;
        this.ˏ = executor;
    }

    public final void ॱ(final fjo<TResult> o_fjo_TResult) {
        if (!o_fjo_TResult.ˊ() && !o_fjo_TResult.ˎ()) {
            this.ˏ.execute(new Runnable(this) {
                final /* synthetic */ fkb ˏ;

                public final void run() {
                    synchronized (this.ˏ.ˊ) {
                        if (this.ˏ.ॱ != null) {
                            this.ˏ.ॱ.ˎ(o_fjo_TResult.ˋ());
                        }
                    }
                }
            });
        }
    }
}
